<% if(readonly){%>
	            <div class="modal_window" id="modal_window_appt">
	                <div class="modal_form" id="modal_form_appt">
	                	<label>Appointment with <strong><%= appointment.get("doctor").name %></strong> at <%= appointment.get("hospital").hospitalName %></label>
	                    <label><strong>Chief Complaint:</strong><%= appointment.get("appointmentHeadline")%> </label>
	                    <label ><strong>Date & Time:</strong> <%= new Date(appointment.get("dateOfAppointment")).format("dd mmm yyyy") %>
	                    			 at <%= fomartTimeShow( appointment.get("appointmentTime").substring(0,2)) %></label>
	                    <label><strong>Other details:</strong><%= appointment.get("appointmentComment")%></label>
	                    <div class="close actions" id="actions">
							<span class="fc-button fc-button-today ui-state-default ui-corner-left ui-corner-right">
								<span class="fc-button-inner">
									<span id="AppmentSubmit" class="fc-button-content">Close</span>
									<span class="fc-button-effect">
										<span></span>
									</span>
								</span>
							</span>
	                    </div>
	                </div>
	                <a  id="close_x" class="close close_x" href="#">close</a>
	            </div>
<% } %>
	            